import request from '@/utils/request'

// 查询蜜蜂查概要列表
export function listBriefs(query) {
  return request({
    url: '/system/briefs/list',
    method: 'get',
    params: query
  })
}

// 查询蜜蜂查概要详细
export function getBriefs(id) {
  return request({
    url: '/system/briefs/' + id,
    method: 'get'
  })
}

// 新增蜜蜂查概要
export function addBriefs(data) {
  return request({
    url: '/system/briefs',
    method: 'post',
    data: data
  })
}

// 修改蜜蜂查概要
export function updateBriefs(data) {
  return request({
    url: '/system/briefs',
    method: 'put',
    data: data
  })
}

// 删除蜜蜂查概要
export function delBriefs(id) {
  return request({
    url: '/system/briefs/' + id,
    method: 'delete'
  })
}

// 导出蜜蜂查概要
export function exportBriefs(query) {
  return request({
    url: '/system/briefs/export',
    method: 'get',
    params: query
  })
}